<script>on mouseUpput empty into card field "Name"put empty into card field "Age"put empty into card field "Occupation"put empty into card field "Date Hired"put empty into card field "Salary"put empty into card field "Other"end mouseUp</script>
</part>
<part>
<id>18</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>368</left>
<top>110</top>
<right>463</right>
<bottom>132</bottom>
</rect>
<style>roundrect</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Charcoal</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<name>Save Record</name>
<script>on mouseUpput card field "Name" into theNameput card field "Age" into theAgeput card field "Occupation" into theOccput card field "Date Hired" into theDateput card field "Salary" into theSalaryput card field "Other" into otherInfoput return after theNameput return after theAgeput return after theOccput return after theDateput return after theSalaryask file "Where would you like to save?" with theNameput it into theFileif theFile ≠ empty thenopen file theFilewrite theName to file theFilewrite theAge to file theFilewrite theOcc to file theFilewrite theDate to file theFilewrite theSalary to file theFilewrite otherInfo to file theFileclose file theFileend ifend mouseUp</script>
</part>
<part>
<id>23</id>
<type>field</type>
<visible> <true /> </visible>
<dontWrap> <false /> </dontWrap>
<dontSearch> <false /> </dontSearch>
<sharedText> <false /> </sharedText>
<fixedLineHeight> <false /> </fixedLineHeight>
<autoTab> <false /> </autoTab>
<lockText> <true /> </lockText>
<rect>
<left>352</left>
<top>173</top>
<right>481</right>
<bottom>313</bottom>
</rect>
<style>transparent</style>
<autoSelect> <false /> </autoSelect>
<showLines> <false /> </showLines>
<wideMargins> <false /> </wideMargins>
<multipleLines> <false /> </multipleLines>
<reservedFamily> 0 </reservedFamily>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>left</textAlign>
<font>Geneva</font>
<textSize>9</textSize>
<textStyle>plain</textStyle>
<textHeight>12</textHeight>
<name></name>
<script></script>
</part>
<part>
<id>24</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>368</left>
<top>138</top>
<right>463</right>
<bottom>160</bottom>
</rect>
<style>roundrect</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Charcoal</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<name>Open Record</name>
<script>on mouseUpanswer file "Choose an employee record to open." of type textput it into theFileif theFile ≠ empty thenopen file theFileread from file theFile until endput it into theDataput theData into card field "data"close file theFileput line 1 of card field "data" into theNameput line 2 of card field "data" into theAgeput line 3 of card field "data" into theOccput line 4 of card field "data" into theDateput line 5 of card field "data" into theSalaryput line 6 of card field "data" into otherInfoput theName into card field "Name"put theAge into card field "Age"put theOcc into card field "Occupation"put theDate into card field "Date Hired"put theSalary into card field "Salary"put otherInfo into card field "Other"end ifend mouseUp</script>
</part>
<part>
<id>25</id>
<type>field</type>
<visible> <false /> </visible>
<dontWrap> <false /> </dontWrap>
<dontSearch> <false /> </dontSearch>
<sharedText> <false /> </sharedText>
<fixedLineHeight> <false /> </fixedLineHeight>
<autoTab> <false /> </autoTab>
<lockText> <true /> </lockText>
<rect>
<left>0</left>
<top>267</top>
<right>187</right>
<bottom>342</bottom>
</rect>
<style>opaque</style>
<autoSelect> <false /> </autoSelect>
<showLines> <false /> </showLines>
<wideMargins> <false /> </wideMargins>
<multipleLines> <false /> </multipleLines>
<reservedFamily> 0 </reservedFamily>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>left</textAlign>
<font>Geneva</font>
<textSize>9</textSize>
<textStyle>plain</textStyle>
<textHeight>12</textHeight>
<name>data</name>
<script></script>
</part>
<content>
<layer>card</layer>
<id>3</id>
<text>Name:</text>
</content>
<content>
<layer>card</layer>
<id>4</id>
<text>Employer Record</text>
</content>
<content>
<layer>card</layer>
<id>5</id>
<text>Age:</text>
</content>
<content>
<layer>card</layer>
<id>7</id>
<text>Salary:</text>
</content>
<content>
<layer>card</layer>
<id>9</id>
<text>Occupation:</text>
</content>
<content>
<layer>card</layer>
<id>11</id>
<text>Date Hired:</text>
</content>
<content>
<layer>card</layer>
<id>13</id>
<text>Salary:</text>
</content>
<content>
<layer>card</layer>
<id>16</id>
<text>Other Info:</text>
</content>
<content>
<layer>card</layer>
<id>23</id>
<text>This program is an example of how to use backgrounds, buttons, cards, fields, and other aspects of HyperCard. Feel free to modify it in any way you want -- it's for your own benefit anyways, and it took me about 10 minutes to make. Have fun, and good luck!</text>
</content>
<content>
<layer>card</layer>
<id>25</id>
<text></text>
</content>
<name></name>
<script>on openCardput empty into card field "Name"put empty into card field "Age"put empty into card field "Occupation"put empty into card field "Date Hired"put empty into card field "Salary"put empty into card field "Other"end openCard</script>